package com.ruoyi.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 岗位信息对象 sys_post
 *
 * @author ruoyi
 * @date 2023-11-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_post")
public class SysPostDo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 岗位ID
     */
    @TableId(value = "post_id")
    private Long postId;
    /**
     * 岗位编码
     */
    @TableField(value = "post_code")
    private String postCode;
    /**
     * 岗位名称
     */
    @TableField(value = "post_name")
    private String postName;
    /**
     * 显示顺序
     */
    @TableField(value = "post_sort")
    private Integer postSort;
    /**
     * 状态（0正常 1停用）
     */
    @TableField(value = "status")
    private String status;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

}
